#include "NV_SanXuat.h"


NV_SanXuat::NV_SanXuat()
{
}

void NV_SanXuat::Nhap()
{
	NhanVien::Nhap();
	cout << "Nhap luong co ban: " << endl;
	cin >> LuongCB;
	cout << "Nhap so luong san pham lam duoc: " << endl;
	cin >> SoLuong;
}

void NV_SanXuat::TinhLuong()
{
	NhanVien::Luong = LuongCB + SoLuong * 5000;
}

void NV_SanXuat::Xuat()
{
	TinhLuong();
	NhanVien::Xuat();
	cout << "Luong: " << Luong<<endl;
}

NV_SanXuat::~NV_SanXuat()
{
}
